.PHONY:all
all: mythread mythread1

mythread:mythread.cc
	g++ -o $@ $^ -lpthread -std=c++11
mythread1:mythread1.cc
	g++ -o $@ $^ -lpthread -std=c++11

.PHONY:clean
clean:
	rm -f mythread mythread1
